package cn.fuxi2022.model.empty.count;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 基础柱状图
 *
 * htt<a href="ps://echarts.apache.org/examples/zh/editor.html?c=bar-simple
 ">*</a>
 *
 * <p>
 * xAxis: {
 * type: 'category',
 * data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
 * },
 * yAxis: {
 * type: 'value'
 * },
 * series: [
 * {
 * data: [120, 200, 150, 80, 70, 110, 10],
 * type: 'bar'
 * }
 * ]
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BasicBar {

    /**
     * 横轴数据
     */
    List<String> xAxis;

    /**
     * 柱的长度
     */
    List<Integer> data;
}
